<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html lang="en">

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  <title>LCOV - iris.info - MemCtrl/MC.h</title>
  <link rel="stylesheet" type="text/css" href="../gcov.css">
</head>

<body>

  <table width="100%" border=0 cellspacing=0 cellpadding=0>
    <tr><td class="title">LTP GCOV extension - code coverage report</td></tr>
    <tr><td class="ruler"><img src="../glass.png" width=3 height=3 alt=""></td></tr>

    <tr>
      <td width="100%">
        <table cellpadding=1 border=0 width="100%">
        <tr>
          <td class="headerItem" width="20%">Current&nbsp;view:</td>
          <td class="headerValue" width="80%" colspan=4><a href="../index.html">directory</a> - <a href="index.html">MemCtrl</a> - MC.h</td>
        </tr>
        <tr>
          <td class="headerItem" width="20%">Test:</td>
          <td class="headerValue" width="80%" colspan=4>iris.info</td>
        </tr>
        <tr>
          <td class="headerItem" width="20%">Date:</td>
          <td class="headerValue" width="20%">2010-05-24</td>
          <td width="20%"></td>
          <td class="headerItem" width="20%">Instrumented&nbsp;lines:</td>
          <td class="headerValue" width="20%">15</td>
        </tr>
        <tr>
          <td class="headerItem" width="20%">Code&nbsp;covered:</td>
          <td class="headerValue" width="20%">53.3 %</td>
          <td width="20%"></td>
          <td class="headerItem" width="20%">Executed&nbsp;lines:</td>
          <td class="headerValue" width="20%">8</td>
        </tr>
        </table>
      </td>
    </tr>
    <tr><td class="ruler"><img src="../glass.png" width=3 height=3 alt=""></td></tr>
  </table>

  <table cellpadding=0 cellspacing=0 border=0>
    <tr>
      <td><br></td>
    </tr>
    <tr>
      <td><pre class="source">
<span class="lineNum">       1 </span>                : /*
<span class="lineNum">       2 </span>                :  * =====================================================================================
<span class="lineNum">       3 </span>                :  *
<span class="lineNum">       4 </span>                :  *       Filename:  MC.h
<span class="lineNum">       5 </span>                :  *
<span class="lineNum">       6 </span>                :  *    Description:  
<span class="lineNum">       7 </span>                :  *
<span class="lineNum">       8 </span>                :  *        Version:  1.0
<span class="lineNum">       9 </span>                :  *        Created:  04/07/2010 07:15:49 PM
<span class="lineNum">      10 </span>                :  *       Revision:  none
<span class="lineNum">      11 </span>                :  *       Compiler:  gcc
<span class="lineNum">      12 </span>                :  *
<span class="lineNum">      13 </span>                :  *         Author:  SYED MINHAJ HASSAN
<span class="lineNum">      14 </span>                :  *        Company:  Georgia Institute of Technology
<span class="lineNum">      15 </span>                :  *
<span class="lineNum">      16 </span>                :  * =====================================================================================
<span class="lineNum">      17 </span>                :  */
<span class="lineNum">      18 </span>                : 
<span class="lineNum">      19 </span>                : #ifndef  MC_h_INC
<span class="lineNum">      20 </span>                : #define  MC_h_INC
<span class="lineNum">      21 </span>                : 
<span class="lineNum">      22 </span>                : #include        &quot;../kernel/component.h&quot;
<span class="lineNum">      23 </span>                : #include        &quot;../kernel/simulator.h&quot;
<span class="lineNum">      24 </span>                : #include        &quot;../data_types/impl/irisEvent.h&quot;
<span class="lineNum">      25 </span>                : #include        &quot;../MemCtrl/request.h&quot;
<span class="lineNum">      26 </span>                : #include        &quot;../MemCtrl/request_handler.h&quot; 
<span class="lineNum">      27 </span>                : #include        &quot;../MemCtrl/bus_handler.h&quot;
<span class="lineNum">      28 </span>                : #include        &quot;../MemCtrl/bus.h&quot;
<span class="lineNum">      29 </span>                : #include        &quot;../MemCtrl/dram.h&quot;
<span class="lineNum">      30 </span>                : #include        &quot;../MemCtrl/NI.h&quot;
<span class="lineNum">      31 </span>                : #include        &quot;../MemCtrl/refresh_manager.h&quot;
<span class="lineNum">      32 </span>                : #include        &quot;../MemCtrl/response_handler.h&quot;
<span class="lineNum">      33 </span>                : #include        &quot;../MemCtrl/stats.h&quot;
<span class="lineNum">      34 </span>                : 
<span class="lineNum">      35 </span>                : class MC
<span class="lineNum">      36 </span>                : {
<span class="lineNum">      37 </span>                :     public:
<span class="lineNum">      38 </span>                :         NI *ni;
<span class="lineNum">      39 </span>                :         RequestHandler *reqH;
<span class="lineNum">      40 </span>                :         RefreshMgr *refMgr;
<span class="lineNum">      41 </span>                :         Bus *bus;
<span class="lineNum">      42 </span>                :         DRAM *dram;
<span class="lineNum">      43 </span>                :         ResponseHandler *responseH;
<span class="lineNum">      44 </span>                :         Statistic *stats;
<span class="lineNum">      45 </span>                :         Component *parent;
<span class="lineNum">      46 </span>                :         bool * doneOnce[NO_OF_THREADS];
<span class="lineNum">      47 </span>                :         void Init();
<span class="lineNum">      48 </span>                :         void StartRefresh();
<span class="lineNum">      49 </span>                :         UInt id;
<span class="lineNum">      50 </span><span class="lineCov">              8 :         MC ()</span>
<span class="lineNum">      51 </span>                :         {
<span class="lineNum">      52 </span><span class="lineCov">              8 :             stats = new Statistic();</span>
<span class="lineNum">      53 </span>                :         //    ni = new NI();    
<span class="lineNum">      54 </span><span class="lineCov">              8 :             reqH = new RequestHandler();</span>
<span class="lineNum">      55 </span><span class="lineCov">              8 :             refMgr = new RefreshMgr();</span>
<span class="lineNum">      56 </span><span class="lineCov">              8 :             bus = new Bus();</span>
<span class="lineNum">      57 </span><span class="lineCov">              8 :             dram = new DRAM();</span>
<span class="lineNum">      58 </span><span class="lineCov">              8 :             responseH = new ResponseHandler();          </span>
<span class="lineNum">      59 </span><span class="lineCov">              8 :         };</span>
<span class="lineNum">      60 </span><span class="lineNoCov">              0 :         ~MC () </span>
<span class="lineNum">      61 </span>                :         {
<span class="lineNum">      62 </span><span class="lineNoCov">              0 :             delete reqH;</span>
<span class="lineNum">      63 </span><span class="lineNoCov">              0 :             delete refMgr;</span>
<span class="lineNum">      64 </span><span class="lineNoCov">              0 :             delete bus;</span>
<span class="lineNum">      65 </span><span class="lineNoCov">              0 :             delete responseH;</span>
<span class="lineNum">      66 </span><span class="lineNoCov">              0 :             delete dram;</span>
<span class="lineNum">      67 </span>                :         //    delete ni;                        
<span class="lineNum">      68 </span><span class="lineNoCov">              0 :         };</span>
<span class="lineNum">      69 </span>                : };/*  -----  end of class MC  ----- */
<span class="lineNum">      70 </span>                : 
<span class="lineNum">      71 </span>                : #endif   /*  ----- #ifndef MC_INC  ----- */
</pre>
      </td>
    </tr>
  </table>
  <br>

  <table width="100%" border=0 cellspacing=0 cellpadding=0>
  <tr><td class="ruler"><img src="../glass.png" width=3 height=3 alt=""></td></tr>
  <tr><td class="versionInfo">Generated by: <a href="http://ltp.sourceforge.net/coverage/lcov.php" target="_parent">LTP GCOV extension version 1.6</a></td></tr>
  </table>
  <br>

</body>
</html>
